package com.rerun.entity;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * The type Job tag job.
 */
@TableName("job_tag_job")
public class JobTagJob extends Model<JobTagJob> {

    private static final long serialVersionUID = 9025670509398129242L;
    @TableId(type = IdType.UUID)
    private String id;
    private String jobId;
    private String jobtagId;


    /**
     * Gets id.
     *
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * Sets id.
     *
     * @param id the id
     */
    public void setId(String id) {
        this.id = id;
    }


    /**
     * Gets job id.
     *
     * @return the job id
     */
    public String getJobId() {
        return jobId;
    }

    /**
     * Sets job id.
     *
     * @param jobId the job id
     */
    public void setJobId(String jobId) {
        this.jobId = jobId;
    }


    /**
     * Gets jobtag id.
     *
     * @return the jobtag id
     */
    public String getJobtagId() {
        return jobtagId;
    }

    /**
     * Sets jobtag id.
     *
     * @param jobtagId the jobtag id
     */
    public void setJobtagId(String jobtagId) {
        this.jobtagId = jobtagId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "{" +
                "id:" + id +
                ", jobId:" + jobId +
                ", jobtagId:" + jobtagId +
                '}';
    }
}
